package cn.sumpu.app.coolsk.biz;

import java.util.List;

import cn.sumpu.app.coolsk.domain.Template;
import cn.sumpu.app.coolsk.exception.AppBusinessException;
import cn.sumpu.toolkit.common.page.PageModel;


public interface TemplateBiz {
	
	public PageModel getTemplateList(Integer page,Integer pagesize,String searchName) throws AppBusinessException;
	
	public Template getTemplateById(String name)throws AppBusinessException;
	
	public Template saveTemplate(Template template)throws AppBusinessException;
	
	public List<Template> getTemplateList(String searchName) throws AppBusinessException;
}
